#coding:utf-8
from flask import request, Flask
import time
import os
from PIL import Image
from io import StringIO
import matplotlib.pyplot as plt
import cv2
import numpy as np
from io import BytesIO
import json
import base64
from gevent import pywsgi

app = Flask(__name__)

@app.route("/", methods=['GET','POST'])
def get_frame():

    return 'hello world wangnan 扛把子'


if __name__ == "__main__":
    server = pywsgi.WSGIServer(('127.0.0.1', 6060), app)
    server.serve_forever()
